if (!geomanagement) {
	var geomanagement = {};
}
(function($) {
	geomanagement.PropertyTypes={
			HOUSE:1,
			APPARTMENT:2,
			AGR:3,
			BOD:4,
			COM:5,
			EST:6,
			OFI:7,
			SIT:8,
			MIN :9
	};
	geomanagement.RentOrSale={
			RENT:1,
			SALE:2
	};
	geomanagement.PropertyStatus={
			AVALIBLE:1,
			SOLD_BY_ME:2,
			SOLD_BY_OTHER:3,
			RESERVED: 4
	};
	geomanagement.PropertyPerseption={
			NONE:0,
			LOW:1,
			MID:2,
			HI:3,
			
	};
	geomanagement.Property = function(id, number, address,type,responsable,created,visited) {
		this.marker = null;
		this.id=id;
		this.number=number;
		this.address=address;
		this.type=type;
		this.furinture=false;
		this.offer=false;
		this.rentOrSale=geomanagement.RentOrSale.RENT;
		this.status=geomanagement.PropertyStatus.AVALIBLE;
		this.visits=0;
		this.perseption=geomanagement.PropertyPerseption.NONE;
		this.created=new Date();
		this.visited=new Date();
		this.responsable=responsable;
	};


})(jQuery);